package edu.sctu.practice.class01.nieyu.test.test14;

/**
 * Created by Administrator on 2015/10/22.
 */
public class Car extends Vehicle {
    int load;
    int volume;

    public Car(int load, int volume) {

        this.load = load;
        this.volume = volume;
    }

    @Override
    public String noofWheels() {

        return "小汽车：" + "\n" + "载重为：" + load + "\n" + "体积为：" + volume;

    }
}
